package com.lee.common.event

const val STATUS_NORMAL = -1

const val RESTART_SCAN = "restartScan"
const val GO_TO_OIL_PAGE = 2

/**
 * desripbe 通用广播消息
 */
class MessageEvent {

    val message: String
    val status: Int
    val content: String

    constructor(message: String, status: Int) {
        this.message = message
        this.status = status
        this.content = ""
    }

    constructor(message: String, content: String) {
        this.message = message
        this.content = content
        this.status = STATUS_NORMAL
    }
}

